<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<include file="Public/header"/>

</head>

<body>

<div id="wrapper">

	<include file="Public/left" />
	<div id="page-wrapper">
		<div class="row">
			<div class="col-lg-12">
				<h1 class="page-header"> 列表</h1>
			</div>
			<!-- /.col-lg-12 -->
		</div>
		<!-- /.row -->
		<div class="row">
			<div class="col-lg-12">
				<div class="panel-body">
					<div class="table-responsive">
						<table class="table table-striped table-bordered table-hover">
							<thead>

							<tr>

							<th>#</th>

							<th>名称</th>

							<th>优惠码</th>

							<th>操作</th>

							</tr>

							<thead>

							<tbody>

							<volist name="list" id="list">

							<tr>

							<td>{$key+$start+1}</td>

							<td>{$list['ename']}</td>

							<td>{$list['ecode']}</td>


							<td><a href="{:U('Code/info',array('eid'=>$list['eid']))}">查看</a> <a href="{:U('Code/del',array('eid'=>$list['eid']))}" onclick="return confirm('是否确实删除？')">删除</a></td>

							</tr>

							</volist>

							<tr><td colspan="7">{$page}</td></tr>

							<tbody>
						</table>
					</div>
					<!-- /.table-responsive -->
				</div>
			</div>
		</div>
	</div>
	<!-- /.row -->
</div>
<!-- /#page-wrapper -->

	</div>
	<!-- /#wrapper -->

	<include file="Public/footer" />

	<!-- Morris Charts JavaScript -->
	<script src="__PUBLIC__/Admin/bower_components/raphael/raphael-min.js"></script>
	<script src="__PUBLIC__/Admin/bower_components/morrisjs/morris.min.js"></script>
	<script src="__PUBLIC__/Admin/js/morris-data.js"></script>

</body>

</html>
